package com.app.service;

import com.app.dao.TeamsMapper;
import com.app.pojo.Teams;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class TeamsServiceImpl implements TeamsService{
    @Resource
    public TeamsMapper teamsMapper;
    @Override
    public List<Teams> findAll() {
        return teamsMapper.findAll();
    }
}
